package com.zp.business.mapper.infusion;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zp.business.entity.infusion.InfusionRegisterStay;
import com.zp.business.entity.infusion.bo.InfusionRegisterStayBo;
import com.zp.business.entity.infusion.vo.InfusionPrescriptionVo;
import com.zp.business.entity.infusion.vo.InfusionRegisterStayVo;
import com.zp.business.entity.patient.vo.ClinicMasterVo;
import com.zp.common.myBatis.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 输液室待登记Mapper接口
 *
 * @author zhang peng
 * @ date 2025-02-02
 */
@Repository
public interface InfusionRegisterStayMapper extends BaseMapperPlus<InfusionRegisterStayMapper, InfusionRegisterStay, InfusionRegisterStayVo> {

    /**
     * 查询待登记的输液患者列表
     * @param bo
     * @return
     */
    Page<ClinicMasterVo> getInfusionRegisterStayList(@Param("page") Page<InfusionRegisterStayBo> page, @Param("bo") InfusionRegisterStayBo bo);

    /**
     * 查询待登记的输液患者药品列表
     * @param bo
     * @return
     */
    List<InfusionPrescriptionVo> getInfusionRegisterStayItemList(InfusionRegisterStayBo bo);

}
